package com.bdqn.ch07.service;

import com.bdqn.ch07.entity.Right;
import com.bdqn.ch07.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> findByRoleList();

    List<Right> findAllRights();

    List<Right> findRightsByRole(Role role);
}
